package com.InheritInterface;

/**
 * ClassName: BasketballPlayers
 * Package:
 * Description:
 *
 * @Author 软件232班——欧阳昊淼
 * @Create 2024/9/9 18:15
 * @Version 17.0.2
 */
public class BasketballPlayers extends Sportsman{

    private String name;
    private int id;
    private String position;
    private String team;
    private double height;

    public BasketballPlayers(double height, int id, String name, String position, String team) {
        super();
        this.height = height;
        this.id = id;
        this.name = name;
        this.position = position;
        this.team = team;
    }

    public double getHeight() {
        return height;
    }

    public void setHeight(double height) {
        this.height = height;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getTeam() {
        return team;
    }

    public void setTeam(String team) {
        this.team = team;
    }

    @Override
    public String toString() {
        return "BasketballPlayers{" +
                "height='" + height + '\'' +
                ", position='" + position + '\'' +
                ", team='" + team + '\'' +
                '}';
    }
}
